package Experiment.Text;

import java.util.Scanner;

public class Text {
    public static void main(String[] args) {
        System.out.println("陈杰202012900203");
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入姓名");
        String name=sc.next();
        System.out.println("请输入年龄");
        int age=sc.nextInt();
        Person person=new Person(name);
        person.setAge(age);
        person.printInfo();
    }
}
